#ifndef TMGLOBALCTRL_H
#define TMGLOBALCTRL_H

#include <Ice/Ice.h>
#include <IceStorm/IceStorm.h>
#include "tmrobotdef.h"
#include <QDebug>
#include <QFileDialog>
#include <QThread>
#include "tmjsonworker.h"
#include "tmmotorworker.h"
#include "tmaudioworker.h"

extern Ice::CommunicatorPtr m_icePtr;
extern Robot::JsonPrx m_prxJson;
extern Robot::MotorPrx m_prxMotor;
extern Robot::AudioPrx m_prxAudio;
extern Robot::ScreenExPrx m_prxScreenEx;
extern Robot::ConfigPrx m_prxConfig;
extern Robot::PubPrx m_prxPub;
extern Robot::SessionPrx m_prxSession;
extern Robot::LivePrx m_prxLive;

extern Ice::CommunicatorPtr m_iceSubPtr;
extern IceStorm::TopicManagerPrx m_topicManager;
extern Ice::ObjectPrx m_prxSub;

extern TMJsonWorker* pr_JsonWorker;
extern TMMotorWorker* pr_MotorWorker;
extern TMAudioWorker* pr_AudioWorker;



#endif // TMGLOBALCTRL_H
